﻿<?xml version="1.0" encoding="UTF-8"?>
<ApplicationManifest ApplicationTypeName="ActorGatewayApp" ApplicationTypeVersion="1.0" xmlns="http://schemas.microsoft.com/2011/01/fabric" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Description>This is a sample stateless Gateway service provided by the WinFabric</Description>
  <Parameters>
    <Parameter Name="ServiceInstanceCount" DefaultValue="1000"/>
    <Parameter Name="GatewayPort" DefaultValue="8505"/>
  </Parameters>
  <ServiceManifestImport>
    <ServiceManifestRef ServiceManifestName="ActorGatewayServicePackage" ServiceManifestVersion="1.0"/>
    <ConfigOverrides>
      <ConfigOverride Name="ActorGatewayService.Config">
        <Settings>
          <Section Name="GatewayConfiguration">
            <Parameter Name="GatewayPort" Value="[GatewayPort]"/>
          </Section>
        </Settings>
      </ConfigOverride>
    </ConfigOverrides>
  </ServiceManifestImport>
  <ServiceTemplates>
    <StatelessService ServiceTypeName="ActorGatewayService" InstanceCount="1000">
      <SingletonPartition></SingletonPartition>
    </StatelessService>
  </ServiceTemplates>
  <DefaultServices>
    <Service Name="RequiredGatewayService">
      <StatelessService ServiceTypeName="ActorGatewayService" InstanceCount="[ServiceInstanceCount]">
        <SingletonPartition></SingletonPartition>
      </StatelessService>
    </Service>
  </DefaultServices>
</ApplicationManifest>
